home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 28
/
Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso
/
CED
/
cedscripts
/
Calc.ced
< prev
next >
Wrap
Text File
|
1993-07-07
|
610b
|
27 lines
/*-----calc.ced------
** calc.ced by William Henning
**
** solve selected text, append result.
**
** To use this script, type in a mathematical equation, mark one
** end with 'Mark' and position the cursor at the other end.
** Then invoke this script with 'Send DOS/ARexx command'.
** The result of the equation will be inserted into your file.
** This is similar to the solve.ced script.
**
** This script requires CygnusEd Professional v3.5 (or later) to run.
**
*/
OPTIONS RESULTS
'COPY BLOCK'
STATUS BLOCKBUFFER
EXPR = 'OUT = ' RESULT
INTERPRET EXPR
TEXT ' = 'OUT